package com.huaxin.common.Entity;

import java.util.List;

/**
 * @author lwjing
 * @date 2018/3/29
 * @Desc $desc$
 * Copyright HUAXIN DATA. All rights reserved.
 */
public class RepairUPDTO extends BaseDTO {
    private RepairUPBase data;

    public RepairUPBase getData() {
        return data;
    }

    public class RepairUPBase {
        private long                finishDate;
        private String              orgName;
//        private long                realFinishDate;
//        private long                realStartDate;
        private long                startDate;
        private List<RepairStation> stationArr;
        private String              vehicleName;
        private String              workers;
        private String code;//单号
        private String proposer;//负责人
        private String title;//标题

        public long getFinishDate() {
            return finishDate;
        }

        public String getOrgName() {
            return orgName;
        }

        public String getCode() {
            return code;
        }

        public String getProposer() {
            return proposer;
        }

        public String getTitle() {
            return title;
        }

        //        public long getRealFinishDate() {
//            return realFinishDate;
//        }
//
//        public long getRealStartDate() {
//            return realStartDate;
//        }

        public long getStartDate() {
            return startDate;
        }

        public List<RepairStation> getStationArr() {
            return stationArr;
        }

        public String getVehicleName() {
            return vehicleName;
        }

        public String getWorkers() {
            return workers;
        }
    }

    public class RepairStation {
        private List<RepairTaskInfo> items;
        private String               name;
        private boolean isCheck;

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        public List<RepairTaskInfo> getItem() {
            return items;
        }

        public String getName() {
            return name;
        }
    }
}
